package com.example.data.factory.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lhy
 * @since 2025-04-21
 */
@Getter
@Setter
@TableName("parameter_mapping")
@ApiModel(value = "ParameterMapping对象", description = "")
public class ParameterMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("映射id")
    @TableId(value = "mapping_id", type = IdType.AUTO)
    private Integer mappingId;

    @ApiModelProperty("所属连线id")
    private Integer connectionId;

    @ApiModelProperty("上游参数id")
    private Integer sourceParamId;

    @ApiModelProperty("下游参数id")
    private Integer targetParamId;

    @ApiModelProperty("上游参数")
    private String sourceParam;

    @ApiModelProperty("下游参数")
    private String targetParam;
}
